#pragma once
#include<string>
using namespace std;

class Josephous
{
public:
	string id;
	Josephous *prior;
	Josephous *next;
};

class Head
{
public:
	Head();
	void init();
	void start();
private:
	int n;
	string startld;
	int m;
	Josephous *head;
};
